/* pages/category/index.wxss */
page{
    height: 100%;
}

.cates{
    height: 100%;
    .cates_container{
        // 使用calc的时候里面的运算符两边必须加空格
        display: flex;
        flex-direction: row;
        
        .left_menu{
            flex: 1.8;
            .menu_item{
                display: flex;
                height: 80rpx;
                justify-content: center;
                align-items: center;
                font-size: 25rpx;
                flex-direction: column;
                border-bottom: 1rpx solid #f6f5ec;
            
            }
            .active{
                color: var(--themeSelectColor);
                border-left: 5rpx solid currentColor;
            }
        }

        .right_content{
            flex: 6;
            .nodata_view{
                display: flex;
                flex-direction: row;
                justify-content: center;
                width: 100%;
                height: 100%;
                margin-top: 80rpx;
                .view{
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                }
            }
           
            .insect_list_item{
                margin-bottom: 15rpx;
                flex-direction: row;
                display: flex;
                margin-right: 20rpx;
                padding-top: 10rpx;
                padding-left: 10rpx;
                .insect_photo{
                    flex: 1.5;
                    position: relative;
                    width: 190rpx;
                    height: 190rpx;
                    border-radius: 8rpx;
                    float: left;
                    margin-right: 20rpx;
                    background-color: #E7DDC7;
                }
                .insect_details{
                    flex: 3;
                    height: 190rpx;
                    overflow: hidden;
                    position: relative;
                    flex-direction: column;
                    display: flex;
                    .insect_name{
                        margin-left: 10rpx;
                        font-size: 34rpx;
                        line-height: 34rpx;
                        font-weight: bold;
                    }
                    .insect_insectNameE{
                        margin-left: 10rpx;
                        color: #999;
                        font-size: 22rpx;
                        margin-top: 10rpx;
                        position: relative;
                    }
                    .insect_introduce{
                        margin-left: 10rpx;
                        color: #5c5c5c;
                        font-size: 24rpx;
                        margin-top: 5rpx;
                        line-height: 34rpx;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-line-clamp: 2;
                        -webkit-box-orient: vertical;
                    }
                    .insect_acquisition_time{
                        text-align:right;
                        color: #999;
                        font-size: 22rpx;
                        margin-top: 10rpx;
                        position: relative;
                    } 
                }
               
               
            }
            .divLine{
                background: #f6f5ec;
                width: 100%;
                height: 3rpx;
            }

        }
    }
}